package cn.kgc.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author YC
 */
@Data
@ApiModel
public class MenusAddForm implements Serializable {

    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称", dataType = "java.lang.String")
    private String menuName;

    /**
     * 1菜单 2按钮
     */
    @ApiModelProperty(value = "1菜单 2按钮", dataType = "java.lang.Integer")
    private Integer menuType;

    /**
     * 菜单编码
     */
    @ApiModelProperty(value = "菜单编码", dataType = "java.lang.String")
    private String menuCode;

    /**
     * 组件
     */
    @ApiModelProperty(value = "组件", dataType = "java.lang.String")
    private String component;

    /**
     * 路由地址
     */
    @ApiModelProperty(value = "路由地址", dataType = "java.lang.String")
    private String path;

    /**
     * 图标
     */
    @ApiModelProperty(value = "图标", dataType = "java.lang.String")
    private String icon;

    /**
     * 权限标识符
     */
    @ApiModelProperty(value = "权限标识符", dataType = "java.lang.String")
    private String perm;

    /**
     * 父菜单ID
     */
    @ApiModelProperty(value = "父菜单ID", dataType = "java.lang.Integer")
    private Integer parentId;

    @ApiModelProperty(value = "${column.comment}", dataType = "java.lang.String")
    private String redirect;


}
